<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Record and Map Conversion</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
<p>Record无直接修改的方式，可以转换成Map进行增删改后，再转换成Record。示例如下：</p>
<p>在ts中实现转换：</p>
<div id="code-block-ts" class="code-block"></div>
<p>在ets中实现增/删，修改Record中的元素：</p>
<div id="code-block-ets" class="code-block"></div>

<script src="script.js"></script>
</body>
</html>